package com.whminwei.edu.api.base.client;

import com.whminwei.common.feign.decoder.FullHttpRspnConfig;
import com.whminwei.common.http.rspn.FullHttpResponse;
import com.whminwei.edu.api.base.dto.fspn.IndustryFspn;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @author zhangjq
 * @since 2024-05-30
 */
@FeignClient(name = "xzzg-pt-base-service", contextId = "industry-info", configuration = FullHttpRspnConfig.class)
public interface IndustryClient {

    /**
     * 查询所有行业列表
     *
     * @return com.whminwei.common.http.rspn.FullHttpResponse<com.whminwei.edu.api.base.dto.fspn.IndustryFspn>
     * @author zhangjq
     * @since 2024-05-30
     */
    @PostMapping("/industry/getIndustryList")
    FullHttpResponse<IndustryFspn> getIndustryList();

}
